package com.foo.Entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

//@Entity
//@Table(name = "tickerinfo")
/*@NamedQueries(
		{ @NamedQuery(name = "findDatabyCountry", query = "select * from tickerinfo d where d.country = :country") ,
		 @NamedQuery(name = "findDatabyState",query="select * from tickerinfo d where d.state = :state"),
		 @NamedQuery(name="findDatabyIndustry" ,query="select * from tickerinfo d where d.industry = :industry"),
		 @NamedQuery(name="findDatabySector", query="select * from tickerinfo d where d.sector = :sector")})*/
public class TickerInfoData implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8812840207442019448L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private int id;
	private String ticker_symbol;
	private String company;
	private String sector_name;
	private String industry;
	private String country;
	private String state;
	private double market_cap;
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}
	public void setTicker_symbol(String ticker_symbol) {
		this.ticker_symbol = ticker_symbol;
	}
	public String getTicker_symbol() {
		return ticker_symbol;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getCompany() {
		return company;
	}
	public void setSector_name(String sector_name) {
		this.sector_name = sector_name;
	}
	public String getSector_name() {
		return sector_name;
	}
	public void setIndustry(String industry) {
		this.industry = industry;
	}
	public String getIndustry() {
		return industry;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getCountry() {
		return country;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getState() {
		return state;
	}
	public void setMarket_cap(double market_cap) {
		this.market_cap = market_cap;
	}
	public double getMarket_cap() {
		return market_cap;
	}
	public TickerInfoData(int id, String ticker_symbol, String company, String sector, String industry, String country,String state,double market_cap)
	{
	this.id=id;
	this.ticker_symbol=ticker_symbol;
	this.company=company;
	this.sector_name=sector;
	this.industry=industry;
	this.country=country;
	this.state=state;
	this.market_cap=market_cap;
	}
	public TickerInfoData() {
		// TODO Auto-generated constructor stub
	}

}
